package com.fanco.learn_datastruct_leetcode.designpattern.adapter.objectadapter;

/**
 * @author qiaowang 2022/2/10
 * 描述
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("对象适配器模式");

        Phone phone = new Phone();
        phone.charging(new VoltageAdapter(new Voltage220V()));
    }
}
